package com.nanshenycd.service;

import com.nanshenycd.pojo.Type;

import java.util.List;

public interface TypeService {
    //新增标签
    int saveType(Type type);

    Type getTypeById(Long id);

    Type getTypeByName(String name);

    List<Type> listType();

    List<Type> getAllType();

    int updateType(Type type);

    int deleteType(Long id);


}
